Categories

Versions

Filter Tokens (by Content) (Text Processing)

Synopsis

Filters tokens based on their content.

Description

This operator filters tokens based on their content. A token is kept in the document, if the token either equals, contains, or does not contain the given value.

Input

  • document

    The document port.

Output

  • document

    The document port.

Parameters

  • conditionThe condition a document must fulfill to be kept. Range:
  • stringThe string that should be compared to. Range:
  • regular_expressionThe regular expression for that should match. Range:
  • case_sensitiveSpecifies whether the comparison should be case-sensitive. Range:
  • invert conditionSpecifies whether comparison outcome should be inverted. Range: